.relate-news {
    margin: 0 auto;
    max-width: 2560px;
    margin-left: 40px;
    margin-right: 40px;
    background-color: #ffffff73;
    border-radius: 10px;
    margin-bottom: 70px;
    .news-content {
      width: 100%;
      height:675px;
      overflow: hidden;
      .news {
        position: relative;
        width: 90%;
        height: 200px;
        margin: auto;
        background-color: #c0c0c0;
        border-radius: 10px;
        display: flex;
        margin-top: 20px;
        justify-content: space-between;
        padding: 5px;
        .relate-img {
          flex-basis: 260px;
          height: 100%;
          overflow: hidden;
          border-radius: 5px;
          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 5px;
            cursor: pointer;
          }
        }
        .text-contents {
          flex: 0.85;
          height: 100%;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          overflow: hidden;
         .title-news{
          margin:0;
          
            span{
            display: inline-block;
            width:800px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            background:linear-gradient(to right,rgb(255, 255, 255),rgb(157, 227, 255)) no-repeat right bottom;
            background-size: 0 2px;
            transition: background-size 1000ms;
          }
          span:hover {
            background-position-x: left;
            background-size: 100% 2px;
          }
          
        }
          p:last-child {
            display: -webkit-box;
            -webkit-line-clamp: 3; //最大显示行数
            -webkit-box-orient: vertical;
            margin:0;
          }
        }
      }
      .shade {
        position: absolute;
        top: 0;
        left: 0;
        height: 200px;
        width: 100%;
        margin: auto;
        border-radius: 10px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        pointer-events: none; /* 禁用鼠标事件，避免影响下面的交互 */
        background: linear-gradient(
          to right,
          rgba(255, 255, 255, 0),
          rgba(0, 0, 0, 0.7)
        );
        i {
          font-size: 40px;
          color: rgba(255, 255, 255, 0.6);
        }
      }
    }
  }